<?php

class Default_Model_Video extends Zend_Db_Table {

    protected $_name = 'video';
    protected $_primary = 'videoid';

    public function videoItem($arrParam = null, $option = null) {
        $db = Zend_Registry::get('connectDb');
        $select = $db->select()
                ->from('video AS v', array('videoid', 'link', 'status', 'uidcreated', 
                    'datecreated','uidupdated','dateupdated','des','des_vi'))
                ->where('status = 1')->order('order ASC');
        $result = $db->fetchAll($select);

        return $result;
    }

}